# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-face-recognition-models
_pkgname=face_recognition_models
pkgver=0.3.0
pkgrel=9
pkgdesc='Models used by the face_recognition package.'
arch=('any')
url='https://pypi.org/project/face_recognition_models/#files'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('326ab72ee046817e54c75b6260814646f34a3bc7099a8b1167e583a662d76da0adbc71a5a3e71ff6af7783bb643e7642a36a9bbb0d37af3dedc4e19abe3506dd')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {

  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

